﻿@model GameSchool.Models.DescriptionViewModel

@{
    ViewBag.Title = "courseDescriptionOverview";
    Layout = "~/Views/Shared/_LayoutStudent.cshtml";
}

@foreach (var item in Model.Courses)
{
    <div class="mainSectionStuff">
        <h2>Course Description of @item.title</h2>
        <div class="mainText">
            <p>@item.description</p>
        </div>    
    </div>
}

<ul>
    @section menu{
        <li>@Html.ActionLink("Courses Overview", "StudentHome", "Student")</li> 
        <li>@Html.ActionLink("Assignment", "CourseEdit", "Course", new { CID = Model.courseID }, null)</li>    
        <li>@Html.ActionLink("Online Exam", "ViewExam", "Exam", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Lecture", "ViewLecturesInCourse", "Lecture", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Description", "CourseDescription", "Course", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("XP/Achievements", "XPAchievement", "Achievement", new { CID = Model.courseID }, null)</li>
    }
</ul>